package com.nanjia.boot.certificatetype.model.form;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * 证件类型表单对象
 *
 * @author 周洋
 * @since 2025-06-13 10:14
 */
@Getter
@Setter
@Schema(description = "证件类型表单对象")
public class CertificateTypeForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    @NotBlank(message = "不能为空")
    @Size(max = 100, message = "长度不能超过100个字符")
    private String certificateTypeName;

    @Schema(description = "证书类型状态")
    @NotNull(message = "不能为空")
    private Integer certificateTypeStatus;
}
